#!/bin/bash
set -o nounset                              # Treat unset variables as an error
echo '
      set terminal epslatex color colortext
      set output "dwatt_final.tex"
      set xlabel "Time(s)"
      set ylabel "Mb/s"
      plot "data/dwatt_final" using 1:3 with line title "Total","data/dwatt_final" using 1:9 with line title "Send","data/dwatt_final" using 1:10 with line title "Receive"
' |gnuplot -persist      
